//-------------------------------------------------------------------
//	Copyright (c) 2012-2014 Zhirnov Andrey
//	This file is part of the "UXGEN-ES" project.
//	See copyright notice in "Engine.h".
//-------------------------------------------------------------------

#pragma once

#pragma pack(push, 1)


	//
	// Image Header
	// 

	struct ImageHeader
	{
		struct MipmapInfo
		{
			int		level;
			int		offset;
			int		size;
		};

		int		width;
		int		height;
		int		depth;
		int		layers;
		int		pixelFormat;
		int		mipmaps;
		int		dataSize;
	};



	/*
		Image File Structure:
			header
			mipmapInfo = array< MipmapInfo >
			imageData = array< char[ mipmapInfo[i].size ] >
	*/


#pragma pack(pop)